from django.urls import path
from rest_framework.routers import SimpleRouter
from apps.study.views import StudentViewSet, ClassesViewSet
# from rest_framework_jwt.views import obtain_jwt_token
# from rest_framework_simplejwt.views import TokenObtainSlidingView
from rest_framework.routers import DefaultRouter

from .views import *

urlpatterns=[
    path('login/', MyTokenView.as_view()),
    path('image/verification/<uuid>/',ImageVerifyView.as_view()),
]
router = DefaultRouter()
router.register('user',UserViewSet)
router.register('area',AreaViewSet,basename='area')
router.register('address',AddressViwSet,basename='address')
urlpatterns += router.urls

